package cn.pasyy.tool.impl.encryption;

import org.springframework.stereotype.Service;
import org.springframework.util.DigestUtils;

import cn.pasyy.tool.inter.encryption.Encryption_tool;
@Service("MD51")
public class MD5_BySpring implements Encryption_tool{

	@Override
	public String encryption(String words) {
		return  DigestUtils.md5DigestAsHex(words.getBytes());
	}

}
